﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ExamServerViewModels
{
    public class SettingServiceViewModel
    {
        /// <summary>
        /// 物理IP地址
        /// </summary>
        public string IpAddress { get; set; }

        /// <summary>
        /// 所有ip地址
        /// </summary>
        public string AllIpAddress { get; set; }

        /// <summary>
        /// 端口号
        /// </summary>
        public string SocketPort { get; set; }

        /// <summary>
        /// 是否显示ip和端口
        /// </summary>
        public bool IsShowIpAndPort { get; set; }

        /// <summary>
        /// 是否显示监听的所有ip地址
        /// </summary>
        public bool IsShowAllIp { get; set; }

        /// <summary>
        /// 是否显示时间
        /// </summary>
        public bool IsShowTime { get; set; }

        /// <summary>
        /// 时间显示格式
        /// </summary>
        public string TimePattern { get; set; }

        /// <summary>
        /// 是否显示在线人数
        /// </summary>
        public bool IsShowOnlineNum { get; set; }

        /// <summary>
        /// 是否显示考试人数
        /// </summary>
        public bool IsShowExamNum { get; set; }

        /// <summary>
        /// 是否开启上线提醒气泡
        /// </summary>
        public bool IsShowOnlineBubble { get; set; }

        /// <summary>
        /// 数据库连接主机
        /// </summary>
        public string SqlHost { get; set; }

        /// <summary>
        /// 数据库连接端口
        /// </summary>
        public string SqlPort { get; set; }

        /// <summary>
        /// 数据库连接用户名
        /// </summary>
        public string SqlUsername { get; set; }

        /// <summary>
        /// 数据库连接用户密码
        /// </summary>
        public string SqlPassword { get; set; }
    }
}
